package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class Saving implements Serializable{

	private Long savingid;
	private String savingno;
	private Date savingdate;
	private Long agentid;
	private String agentcode;
	private String nrc;
	private String address;
	private String phone;
	private Long currencyid;
	private String currencycode;
	private String ratecode;
	private Long rateid;
	private Double exchangerate;
	private Double Amount;
	private Long bankid;
	private String bankcode;
	private Long branchId; 
	private Long createduser;
	private Long modifieduser;
	private Date createddate;
	private Date modifieddate;
	private Byte transactiontype;
	private Long tempcurrencyid;
	private Long tempagentid;
	private Double tempamount;
	private Double balance;
	private Boolean chkprint;
	private String agentname;
	
	public Saving()
	{
		ClearProperties();
	}
	
	public void ClearProperties()
	{
		savingid = null;
		savingno = "";
		agentid = null;
		agentcode = "";
		nrc = "";
		address = "";
		phone = "";
		currencyid = null;
		currencycode = "";
		ratecode = "";
		exchangerate = null;
		Amount = null;
		bankid = null;
		bankcode = "";
		branchId = null; 
		createduser = null;
		modifieduser = null;
		transactiontype = null;
		tempcurrencyid = null;
		tempagentid = null;
		tempamount = null;
		balance = null;
		rateid = null;
		createddate = new Date();
		modifieddate = new Date();
		savingdate = new Date();
		chkprint = false;
		agentname = "";
	}
	
	public Long getSavingid() {
		return savingid;
	}
	public void setSavingid(Long savingid) {
		this.savingid = savingid;
	}
	
	public String getSavingno() {
		return savingno;
	}
	public void setSavingno(String savingno) {
		this.savingno = savingno;
	}
	
	public Date getSavingdate() {
		return savingdate;
	}
	public void setSavingdate(Date savingdate) {
		this.savingdate = savingdate;
	}
	public Long getAgentid() {
		return agentid;
	}
	public void setAgentid(Long agentid) {
		this.agentid = agentid;
	}
	public String getAgentcode() {
		return agentcode;
	}
	public void setAgentcode(String agentcode) {
		this.agentcode = agentcode;
	}
	public String getNrc() {
		return nrc;
	}
	public void setNrc(String nrc) {
		this.nrc = nrc;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Long getCurrencyid() {
		return currencyid;
	}
	public void setCurrencyid(Long currencyid) {
		this.currencyid = currencyid;
	}
	public String getCurrencycode() {
		return currencycode;
	}
	public void setCurrencycode(String currencycode) {
		this.currencycode = currencycode;
	}

	public String getRatecode() {
		return ratecode;
	}

	public void setRatecode(String ratecode) {
		this.ratecode = ratecode;
	}

	public Double getExchangerate() {
		return exchangerate;
	}
	public void setExchangerate(Double exchangerate) {
		this.exchangerate = exchangerate;
	}
	public Double getAmount() {
		return Amount;
	}
	public void setAmount(Double amount) {
		Amount = amount;
	}
	public long getBranchId() {
		return branchId;
	}
	public void setBranchId(long branchId) {
		this.branchId = branchId;
	}
	public Long getCreateduser() {
		return createduser;
	}
	public void setCreateduser(Long createduser) {
		this.createduser = createduser;
	}
	public Long getModifieduser() {
		return modifieduser;
	}
	public void setModifieduser(Long modifieduser) {
		this.modifieduser = modifieduser;
	}
	public void setBranchId(Long branchId) {
		this.branchId = branchId;
	}
	public Date getCreateddate() {
		return createddate;
	}
	public void setCreateddate(Date createddate) {
		this.createddate = createddate;
	}
	public Date getModifieddate() {
		return modifieddate;
	}
	public void setModifieddate(Date modifieddate) {
		this.modifieddate = modifieddate;
	}
	public Byte getTransactiontype() {
		return transactiontype;
	}
	public void setTransactiontype(Byte transactiontype) {
		this.transactiontype = transactiontype;
	}
	public Long getTempcurrencyid() {
		return tempcurrencyid;
	}
	public void setTempcurrencyid(Long tempcurrencyid) {
		this.tempcurrencyid = tempcurrencyid;
	}
	public Long getTempagentid() {
		return tempagentid;
	}
	public void setTempagentid(Long tempagentid) {
		this.tempagentid = tempagentid;
	}
	public Double getTempamount() {
		return tempamount;
	}
	public void setTempamount(Double tempamount) {
		this.tempamount = tempamount;
	}
	public Long getBankid() {
		return bankid;
	}
	public void setBankid(Long bankid) {
		this.bankid = bankid;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Long getRateid() {
		return rateid;
	}

	public void setRateid(Long rateid) {
		this.rateid = rateid;
	}

	public Boolean getChkprint() {
		return chkprint;
	}

	public void setChkprint(Boolean chkprint) {
		this.chkprint = chkprint;
	}

	public String getAgentname() {
		return agentname;
	}

	public void setAgentname(String agentname) {
		this.agentname = agentname;
	}
	
}
